<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/19
 * Time: 10:53
 */
header("Content-type:text/html;charset=utf-8");
function say($name,$lan='zh'){

    if ($lan=='zh'){
        echo "你好".$name;
    } elseif ($lan=='en'){
        echo "hello".$name;
    }
}

say('frank');